cmake_minimum_required(VERSION 3.15)
project(nativeio)
set(CMAKE_C_STANDARD 11)

find_package(JNI REQUIRED)
include_directories(${JNI_INCLUDE_DIRS})
add_library(nativeio SHARED errno_enum.c errno_enum.h nativeio.h nativeio.c)